package com.biomatch.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.biomatch.domain.UserInfo;
import com.biomatch.dto.Pagination;

import java.util.List;

public interface UserService {

    UserInfo loginByPassword(UserInfo userInfo);

    List<UserInfo> getUserList();

    UserInfo saveOrUpdateUser(UserInfo userInfo);

    UserInfo deleteUser(UserInfo userInfo);

    List<UserInfo> getUserInfoList();


    IPage<UserInfo> getUsersByPage(Pagination pagination);

    IPage<UserInfo> getUserInfoListAndFingerPrint(Pagination pagination);
}
